package com.flea.hclv.model.dao;

import com.flea.hclv.model.entity.HSpot;
import com.flea.hclv.model.entity.HTicketDeptOrder;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface HTicketDeptOrderMapper {
    int deleteByPrimaryKey(String id);

    int insert(HTicketDeptOrder record);

    int insertSelective(HTicketDeptOrder record);

    HTicketDeptOrder selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(HTicketDeptOrder record);

    int updateByPrimaryKey(HTicketDeptOrder record);

    List<HTicketDeptOrder> selectByDeptId(@Param("deptUuid") String deptUuid, RowBounds rowBounds,
                                          @Param("spots") List<HSpot> spots);
}